package me.zxk.qwert_poetry.service;

import me.zxk.qwert_poetry.dao.Collection;
import me.zxk.qwert_poetry.dao.Poem;

import java.util.List;

public interface CollectionService {
    Collection getCollectionById(int id);
    Collection createCollection(Collection collection);
    void deleteCollection(int id);
    void deleteCollectionById(int id);

    List<Collection> listCollectionsByUserId(int userId);

    Collection editCollection(Collection collection);
    void collect(Integer collectionId, Integer poemId);
    void cancel(Integer collectionId, Integer poemId);
}
